package com.easymin.weixin;

import java.security.Principal;

/**
 * Created by shine on 15/9/8.
 */
public class ShiroPrincipal implements Principal {

  private Long id;

  private String name;

  public ShiroPrincipal(Long id, String name) {
    this.id = id;
    this.name = name;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  @Override
  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


}
